package com.kly.user.dto;

import lombok.Data;
import lombok.Getter;

import java.io.Serializable;

@Getter
@Data
public class MsgUnreadVo implements Serializable {
    private String fromModel;

    private String timestamp;

    private Integer unreadMsgOfFromModel = 0;

    private String extra;

    private String chatterCode;

    public MsgUnreadVo setChatterCode(String chatterCode) {
        this.chatterCode = chatterCode;
        return this;
    }

    public MsgUnreadVo setFromModel(String fromModel) {
        this.fromModel = fromModel;
        return this;
    }

    public MsgUnreadVo setTimestamp(String timestamp) {
        this.timestamp = timestamp;
        return this;
    }

    public MsgUnreadVo setUnreadMsgOfFromModel(Integer unreadMsgOfFromModel) {
        this.unreadMsgOfFromModel = unreadMsgOfFromModel;
        return this;
    }

    public MsgUnreadVo setExtra(String extra) {
        this.extra = extra;
        return this;
    }
}
